import time
from selenium import webdriver


driver = webdriver.Chrome()

driver.get('https://so.gushiwen.cn/user/login.aspx')

driver.find_element_by_xpath('//*[@id="email"]').send_keys('917896277@qq.com')
time.sleep(2)

driver.find_element_by_xpath('//*[@id="pwd"]').send_keys('jiyun123456')

time.sleep(5)

driver.find_element_by_xpath('//*[@id="denglu"]').click()

time.sleep(1)
driver.find_element_by_xpath('//*[@id="txtKey"]').send_keys('春江花月夜')
driver.find_element_by_xpath('//*[@id="html"]/body/div[1]/div/div[2]/div[2]/div[1]/form/input[2]').click()

time.sleep(2)
driver.find_element_by_xpath('//*[@id="likeImg71250"]').click()

time.sleep(1)
driver.find_element_by_xpath('//*[@id="html"]/body/div[1]/div/div[2]/div[1]/a[6]').click()
